﻿using FlashPay.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace FlashPay.Service.Interface
{
    public interface AuthService
    {
        /// <summary>
        /// 查询用户是否包含code权限
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="code"></param>
        /// <returns></returns>
        bool IsAuthority(int userId, string code);
    }
}
